<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<html>
<head>
    <base href="<%=request.getContextPath()+"/"%>">
    <title>无标题文档</title>
    <link href="css/style.css" rel="stylesheet" type="text/css" />
    <link href="css/select.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" src="js/jquery.js"></script>

    <script type="text/javascript" src="js/jquery.idTabs.min.js"></script>
    <script type="text/javascript" src="js/select-ui.min.js"></script>
    <script type="text/javascript" src="editor/kindeditor.js"></script>
    <script type="text/javascript">
        $(document).ready(function(e) {
            $(".select1").uedSelect({
                width : 150
            });

        });
    </script>
    <script type="text/javascript">
        $(document).ready(function(){
            $(".click").click(function(){
                $(".tip").fadeIn(200);
            });

            $(".tiptop a").click(function(){
                $(".tip").fadeOut(200);
            });

            $(".sure").click(function(){
                $(".tip").fadeOut(100);
            });

            $(".cancel").click(function(){
                $(".tip").fadeOut(100);
            });

        });
    </script>


</head>

<body>

<div class="place">
    <span>位置：</span>
    <ul class="placeul">
        <li><a href="#">收支管理</a></li>
        <li><a href="#">查看支出</a></li>
    </ul>
</div>
<form action="ptu/PaymentServlet?method=paymentFindMore" method="post">
    <ul class="forminfo">
        <ul class="prosearch">
            <li>
                <label>查询：</label>
                <i>查询的支出时间</i>
                <a>
                    <input name="paytime" type="text" class="scinput" />
                </a>
                <i>支出人</i>
                <a>
                    <input name="payempid" type="text" class="scinput" />
                </a>
                <i>支出类型</i>
                <a>
                    <input name="paytype" type="text" class="scinput" />
                </a>
                <a>
                    <input name="" type="submit" class="sure" value="查询" />
                </a>
            </li>
        </ul>
        <table class="tablelist">
            <thead>
            <tr>
                <th>
                    <input name="" type="checkbox" value="" checked="checked" />
                </th>
                <th>支出编号</th>
                <th>支出人</th>
                <th>类型<i class="sort"><img src="images/px.gif" /></i></th>
                <th>金额</th>
                <th>支出时间</th>
                <th>备注</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            <c:forEach items="${requestScope.payMore}" var="array">
                <tr>
                    <td>
                        <input name="" type="checkbox" value="" />
                    </td>
                    <td>${array.pid}</td>
                    <td>${array.payempid}</td>
                    <td>${array.paytype}</td>
                    <td>${array.amount}</td>
                    <td><fmt:formatDate value="${array.paytime}" pattern="yyyy-MM-dd"></fmt:formatDate></td>
                    <td>${array.paydesc}</td>
                    <td>
                        <a href="ptu/PaymentServlet?method=payFindOne&pid=${array.pid}" class="tablelink">修改</a>
                        <a href="ptu/PaymentServlet?method=paymentRemove&pid=${array.pid}&payempid=${array.payempid}&paytype=${array.paytype}&amount=${array.amount}&paytime=${array.paytime}&paydesc=${array.paydesc}" class="tablelink click"> 删除</a>
                    </td>
                </tr>
            </c:forEach>
            </tbody>
        </table>
    </ul>
</form>
</body>

</html>